Jump to content

Motorola Moto Z2 Force (motorola-nash)

From postmarketOS Wiki
Motorola Moto Z2 Force
Moto Z2 Force
Moto Z2 Force
Manufacturer Motorola
Name Moto Z2 Force
Codename motorola-nash
Released 2017
Type handset
Hardware
Chipset Qualcomm Snapdragon 835 (MSM8998)
CPU Octa-core (4x2.35 GHz Kryo
4x1.9 GHz Kryo)
GPU Adreno 540
Display 1440x2560 (534 PPI)
Storage 64 GB, 128 GB
Memory 4 GB, 6 GB
Architecture aarch64
Software
Original software
The software and version the device was shipped with.
Android 7.1.1
Extended version
The most recent supported version from the manufacturer.
Android 8.0, 9.0 (Verizon only)
postmarketOS
Category downstream
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
no
Device package device-motorola-nash
Kernel package linux-motorola-nash
Features
Flashing
It is possible to flash the device with pmbootstrap flasher.
Works
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Broken
Battery
Charging and battery level reporting works
Works
Screen
Display works. Ideally with sleep mode and brightness control.
Works
Touchscreen
Partial
Multimedia
3D Acceleration
Broken
Audio
Audio playback, microphone, headset and buttons.
Broken
Camera
Broken
Connectivity
WiFi
Broken
Bluetooth
Broken
GPS
Broken
Modem
Calls
Broken
SMS
Broken
Mobile data
Broken
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Broken
Sensors
Accelerometer
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Broken

Contributors

  • Fengjiongmax

Maintainer(s)

Users owning this device

  • Bam (Notes: AT&T variant with locked bootloader)
  • Fengjiongmax (Notes: owns multiple)
  • GeorgeTheGreat (Notes: T-Mobile variant with unlocked bootloader and root)
  • Icenowy (Notes: T-Mobile with unlocked BL, haptic broken)


Unlocking Bootloader

Note There is no known way to unlock the bootloader for Verizon and AT&T variants.

How to enter flash mode

  • Hold down Power and Volume Down button.

Installation

installing pmos on device system_a makes pmos unable to find boot partition,but install pmos on sdcard works.

  • make sure the bootloader on your device is unlocked.
  • pmbootstrap init and select motorola-nash
  • pmbootstrap install --sdcard=[your sdcard device]
  • boot your device into fastboot and plug in the usb cable(use a usb 2.0 port on your pc if possible).
  • this device has two os slots,so you can use one of them to install pmos,the other one to run android.

let's say I'm going to install pmos on slot a:

pmbootstrap chroot -- fastboot --set-active=a #replace a with b if you want to boot pmos from slot b.
# now if you want to boot into pmos without a pc, run this:
pmbootstrap flasher flash_kernel --partition='boot_a' # replace boot_a with boot_b if you want to boot pmos from slot b.
pmbootstrap chroot -- fastboot continue
# or if you don't want to write anything to the device:
pmbootstrap flasher boot

Note

  • this device cannot install twrp directly into the device,but able to boot into it without installing,so if you want to see what's wrong with the kernel,you can boot the device into fastboot after a failed pmos boot,and then run
fastboot boot [you twrp.img location]

and then

adb pull /sys/fs/pstore/console-ramoops-0

and check what went wrong,some kernels may not generate such file.A vibration after issued a boot command is a good indication of whether a kernel works.

  • I tried to install pmos into 'system_a',and then boot with a kernel flashed into 'boot_a',but initfs seems can not find boot partition.And if I specify boot partition in the cmdline (pmos_boot=/dev/block/sde17) , initfs-extra can't be found.

See also